home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 21
/
Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso
/
Aminet
/
comm
/
cnet
/
viewlog.lha
/
viewlog5
/
VL_SysOpLog
< prev
next >
Wrap
Text File
|
1996-11-08
|
20KB
|
389 lines
/**************************************************************************\
$VER: SysOp View Log, v5.02 (8-Nov-96) by Dotoran!
\**************************************************************************/
options results ; signal on SYNTAX ; signal on ERROR ; signal on IOERR
tr=transmit ; se=sendstring ; gc=getchar ; gu=getuser ; mg=maygetchar
a='rexxsupport.library';if ~show('l',a) then if ~addlib(a,0,-30) then exit
START:;ver="5.02";changewhere "SysOpViewLog"ver
tr "f1n3cfSysOp cbView Logc6, c7vcf"ver"c6!"
se "n1caInitializingc6...c9" ; tw=0 ; zy=0 ; call SETUP
call READCONFIG ; call CHECKVER ; call READTITLES ; call READDATA
lo=1 ; hi=45 ; if hi>logs then hi=logs
BEGIN: ; row=1 ; col=1 ; cols="12 32 52" ; r=1
tr "f1@4
ÉÍMenuÍÍÍÍÍÄ
>
SysOp
View Log
,
v"ver"
by
Dotoran
of
Frontiers BBS
<
ÄÍÍÍÍÍÍÍÍÍÍ»"
tr " ÈÍÍ» ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ
ÉÍͼ"
tr " ÉÍͼ ÛÛßCßÛÛ
ÈÍÍ»";tr " ÈÍÍ»
ÛÛCÛÛ
ÉÍͼ"
do 7;tr " ÉÍͼ ÛÛCÛÛ
ÈÍÍ»";tr " ÈÍÍ»
ÛÛCÛÛ
ÉÍͼ";end
tr " ÉÍͼ ÛÛÜCÜÛÛ
ÈÍÍ»";tr " ÈÍÍ»
ÛÛÛÛÛÛÛ
ÛÛÛÛÛÛ
<
R
>
ead
ALL
Logs
ÛÛÛÛ
ÛÛÛÛÛÛÛÛÛ
ÉÍͼ"
tr " ÉÍͼ
<
ENTER
>
=
View Log
,
<
h
>
=
View History
,
<
ESC
>
=
Toggle ALL Menu
,
<
c
>
onfig
ÈÍÍ»"
tr " º
<
d
/
D
>
=
Delete Log/History
,
<
t
/
T
>
=
Trim Log/History
,
<
m
>
aint
,
<
a
>
maint
º"
tr " ÈÍÄ
> <
u
>
ser Log Viewer
, use
Arrow Keys
to
Move
, or press
<
q
>
to
Quit
!
<
Äͼ
"
VIEWANS:
do i=lo to hi by 3 ; i2=i+1 ; i3=i+2
c="ca" ; if r/2=r%2 then c="cb"
se ""r+3";12H"c||center(logN.i,17)
se ""r+3";32H"c||center(logN.i2,17)
se ""r+3";52H"c||center(logN.i3,17)
r=r+1
end i
if lo>1&hi<90 then do ; do i=hi to 90 by 3
tr ""r+3";13H"sp ; r=r+1 ; end i ; end
se "4Hz7c5<c0* c1= c4Log c1existsc4, c0H c1= c4History c1existsc4, c0*H c1= c4Both c1existc5>z0"
if hi<logs then do
se "13Hz7 53Hc1<c0Nc1>c0ext Screenz0";end
if lo>1 then do
se "13Hz7c1<c0Pc1>c0ast Screen53H z0";end
VIEWANS2: ; z=LOC() ; ex1=" ";if exF.z=1 then ex1="*"
ex2=" ";if exH.z=1 then ex2="H"
tr ""row+3";"word(cols,col)"Hz1ce"ex1||ex2||center(logN.z,13)ex2||ex1"z0"
se "9H";do until k~="NOCHAR";call CHECK;mg;k=result;end;kk=""
if k=d2c(27) then do;do 2;mg;kk=result;end;end
if c2d(k)=27 & kk="NOCHAR" then signal MENU_ON
if upper(k)="Q" then do
se "11HcdQuit cfSysOp c9ViewLog c6 right now? cb[caYescb]c6: "
gc;a=result;if a="N" then tr "c9Noc6.";else do;tr "caYesc6!"
se "22HcbThanks c6for using caView Log c6today!";call MAKELOG;exit;end
tr "11H"sp;signal VIEWANS2;end
if (kk~="NOCHAR" & kk>"") | index("2468",k)>0 then do ; c="ca" ; if row/2=row%2 then c="cb"
tr ""row+3";"word(cols,col)"H"c||center(logN.z,17);oldz=z
if k=8 | kk="A" then do ; row=row-1 ; if row<1 then do ; row=16
do until logN.z>"" ; row=row-1 ; z=LOC() ; end ; end
signal VIEWANS2;end
if k=2 | kk="B" then do ; row=row+1 ; z=LOC()
if logN.z="" | row>15 then row=1
signal VIEWANS2;end
if k=6 | kk="C" then do ; col=col+1 ; z=LOC()
if logN.z="" | col>3 then col=1
signal VIEWANS2;end
if k=4 | kk="D" then do ; col=col-1 ; if col<1 then do ; col=4
do until logN.z>"" ; col=col-1 ; z=LOC() ; end ; end
signal VIEWANS2;end ; end
if c2d(k)=13 & exF.z=1 then do ; a=logI.z
if ar=1 then do ; call setclip("ARt",title.a) ; call setclip("ARi",a)
se "H#0"ARpt" sysdata:log/"logF.z",,,,,1,e,1,0}"
call setclip("ARt") ; call setclip("ARi") ; end
else do ; tr "f1c6Now cbViewing c6the cf`ca"logN.z"cf' c6logc9:"
if title.a>"" then tr "n1z5ce"left(title.a,79)"z0"
tr "*0 SysData:Log/"logF.z"}"
se "c7<c6Press cdANY KEY c6Nowc7>g1" ; end
signal BEGIN ; end
if upper(k)="H" & exH.z=1 then do ; a=logI.z
if ar=1 then do ; call setclip("ARt",title.a) ; call setclip("ARi",a)
se "H#0"ARpt" "comP"Histories/"logF.z",,,,,1,e,1,0}"
call setclip("ARt") ; call setclip("ARi") ; end
else do ; tr "f1c6Now cbViewing c6the cf`ca"logN.z"cf' c6log cehistoryc9:"
if title.a>"" then tr "n1z5ce"left(title.a,79)"z0"
tr "*0 "comP"histories/"logF.z"}"
se "c7<c6Press cdANY KEY c6Nowc7>g1" ; end
signal BEGIN ; end
if upper(k)="N"&lo=1 then do;lo=lo+45;hi=hi+45;if hi>logs then hi=logs
row=1;col=1;r=1;signal VIEWANS;end
if upper(k)="P"&hi=logs then do;lo=1;hi=45;if hi>logs then hi=logs
row=1;col=1;r=1;signal VIEWANS;end
if upper(k)="R" then do;it=1;signal MENU2;end
if k="t" & exF.z=1 then do ; if sysM.z=1 & id~=1 then do
se "11Hc6Only ce"sysop" c6can c9trim c6the cf`cd"logN.z"cf' c6log. c7<cckeyc7>g111H"sp
signal VIEWANS2;end
se "11Hc9Trim cf`cd"logN.z"cf' c6log to ca"trln.z" c6lines? cb[caYescb]c6: "
gc;a=result;if a="N" then do;tr "c9Noc6.";end;else do;se "caYesc6, c9Trimmingc6..."
call open(f1,"sysdata:log/"logF.z,"r")
do i=1 until eof(f1) ; se "c9"TWIRL() ; l.i=readln(f1) ; end i ; l=i-1
call close(f1)
if l>trln.z then do
call LOG("[S] Trimmed "l-trln.z" lines from the `"logN.z"' log file.")
call open(f1,"sysdata:log/"logF.z,"w")
do i=l-trln.z+1 to l ; se "cf"TwIRL() ; call writeln(f1,l.i) ; end i
call close(f1) ; end
if logH.z=1 & l>trln.z then do
call LOG("[S] Appended "l-trln.z" lines to the `"logN.z"' log history.")
call open(f1,comP"Histories/"logF.z,substr("wa",exH.z+1,1))
do i=1 to l-trln.z ; se "cc"TWIRL()
call writeln(f1,l.i) ; end i ; call close(f1) ; exH.z=1
end ; tr "h7c9edc6!"
end ; tr "11H"sp
signal VIEWANS2;end
if k="T" & exH.z=1 then do ; if hisT.z=0 then do
se "11Hc6The cf`cd"logN.z"cf' c6history is cfprotected c6from c9trimmingc6. c7<cckeyc7>g1"
tr "11H"sp;signal VIEWANS2;end ; if sysM.z=1 & id~=1 then do
se "11Hc6Only ce"sysop" c6can c9trim c6the cf`cd"logN.z"cf' c6history. c7<cckeyc7>g111H"sp
signal VIEWANS2;end
se "11Hc9Trim cf`cd"logN.z"cf' c6history to ca"hisT.z" c6lines? cb[caYescb]c6: "
gc;a=result;if a="N" then do;tr "c9Noc6.";end;else do;se "caYesc6, c9Trimmingc6..."
call open(f1,comP"Histories/"logF.z,"r")
do i=1 until eof(f1) ; se "c9"TWIRL() ; l.i=readln(f1) ; end i ; l=i-1
call close(f1)
if l>hisT.z then do
call LOG("[S] Trimmed "l-trln.z" lines from the `"logN.z"' log history.")
call open(f1,comP"Histories/"logF.z,"w")
do i=l-hisT.z+1 to l ; se "cc"TWIRL() ; call writeln(f1,l.i) ; end i
call close(f1) ; end ; tr "h7c9edc6!"
end ; tr "11H"sp
signal VIEWANS2;end
if k="d" & exF.z=1 then do ; if sysM.z=1 & id~=1 then do
se "11Hc6Only ce"sysop" c6can c9delete c6the cf`cd"logN.z"cf' c6log. c7<cckeyc7>g111H"sp
signal VIEWANS2;end
se "11Hc9Delete cf`cd"logN.z"cf' c6log now? cb[c9Nocb]c6: "
gc;a=result;if a="Y" then do;se "caYesc6, "
if logH.z=1 then do ; se "cfSaving cdHistoryc6...cc"
call LOG("[S] Saved the `"logN.z"' log file to history.")
call open(f1,"SysData:Log/"logF.z,"r")
call open(f2,comP"Histories/"logF.z,substr("wa",exists(comP"Histories/"logF.z)+1,1))
do i=1 until eof(f1) ; se TWIRL() ; a=readln(f1) ; call writeln(f2,a) ; end i
call close(f2)
call close(f1)
se "h8h9" ; exH.z=1
end ; se "c9Deletingc6...";exF.z=0
call LOG("[S] Deleted the `"logN.z"' log file.")
address command "delete SysData:Log/"logF.z;tr "h6c9edc6!";end;else tr "c9Noc6."
tr "11H"sp;signal VIEWANS2;end
if k="D" & exH.z=1 then do ; if sysM.z=1 & id~=1 then do
se "11Hc6Only ce"sysop" c6can c9delete c6the cf`cd"logN.z"cf' c6history. c7<cckeyc7>g111H"sp
signal VIEWANS2;end
se "11Hc9Delete c6the cf`cd"logN.z"cf' c6history now? cb[c9Nocb]c6: "
gc;a=result;if a="Y" then do;se "caYesc6, c9Deletingc6...";exH.z=0
call LOG("[S] Deleted the `"logN.z"' log history.")
address command "delete "comP"Histories/"logF.z;tr "h6c9edc6!";end;else tr "c9Noc6."
tr "11H"sp;signal VIEWANS2;end
if upper(k)="A" then do
se "11Hc6Run ceViewLog5 cdAutoMaintenance c6right now? cb[c9Nocb]c6: "
gc;a=result;if a="Y" then do;se "caYesc6!#0"comP"VL_AMaint}";signal BEGIN;end
else tr "c9Noc6.11H"sp;signal VIEWANS2;end
if upper(k)="M" then do
se "11Hc6Load ceViewLog5 cdMaintenance c6module now? cb[c9Nocb]c6: "
gc;a=result;if a="Y" then do;se "caYesc6!#0"comP"VL_Maint}";signal BEGIN;end
else tr "c9Noc6.11H"sp;signal VIEWANS2;end
if upper(k)="C" then do
se "11Hc6Load ceViewLog5 cdConfig c6module now? cb[c9Nocb]c6: "
gc;a=result;if a="Y" then do;se "caYesc6!#0"comP"VL_Config}";signal BEGIN;end
else tr "c9Noc6.11H"sp;signal VIEWANS2;end
if upper(k)="U" then do
se "11Hc6Load ceViewLog5 cdUserLog c6module now? cb[c9Nocb]c6: "
gc;a=result;if a="Y" then do;se "caYesc6!#0"comP"VL_UserLog}";signal BEGIN;end
else tr "c9Noc6.11H"sp;signal VIEWANS2;end
signal VIEWANS2
LOC: ; return (row*3+col-3)+(45*(lo>1))
SETUP:
it=7 ; max=7
it.1="3H View ALL Log Files"
it.2="3H View ALL Histories"
it.3="3H Trim ALL Log Files"
it.4="3H Trim ALL Histories"
it.5="3H Delete ALL Log Files"
it.6="3H Delete ALL Histories"
it.7="3H Quit & Exit ViewLog"
gu 40 ; id=result ; bbsidentify sysop ; sysop=result
sp=copies(" ",59)
return
READCONFIG:;gu 1311992;comP=result
call open(f1,comP"ViewLog5.cfg","r")
vers=readln(f1) ; macc=readln(f1)
uacc=readln(f1) ; trim=readln(f1) ; trln=readln(f1)
logH=readln(f1) ; hisP=readln(f1) ; hisT=readln(f1)
ETex=readln(f1)
ARus=readln(f1);AR=readln(f1);ARpt=readln(f1)
call close(f1)
return
READDATA: ; gu 15 ; ac=result ; acF.=0 ; exF.=0
if ~exists(comP"VL_Data") then do
se "n1c9I'm sorry, but you forgot to run the Maintenance module for "
tr "ViewLog first!";exit;end
se "n1cbReading c6Logsc9: cf[cd000cf]<4"
call open(f1,comP"VL_Data","r") ; logN.="" ; logs=0
do i=1 until eof(f1) ; log.i=readln(f1) ; se "cd"right("cb"i-1,6,"0")"<3"
parse var log.i 1 logI.i . 5 logN.i . 20 logF.i . 35 uacc.i .,
50 uac.i" " 138 trim.i . 140 trln.i . 143 logH.i .,
145 hisT.i . 149 sysM.i . 151 asoc.i
exF.i=exists("SysData:Log/"logF.i)
exH.i=exists(comP"Histories/"logF.i)
end i ; logs=i-1
call close(f1)
return
READTITLES:
call open(f1,comP"VL_Titles","r") ; title.=""
do i=1 until eof(f1) ; a=readln(f1) ; se TWIRL()
parse var a 1 v1 . 5 v2 . 17 v3 ; title.v1=v3 ; end i ; titles=i-1
call close(f1) ; tr "cdDonec6!"
return
CHECKVER: ; if ver=vers then return
tr "n2Version Conflict:n1"
tr " `ViewLog5.cfg' version: v"vers
tr " `VL_SysOpLog' version: v"ver
tr "n1 BOTH files above need to be v"max(ver,vers)"!"
tr "n1Halting, due to conflicting versions..."
exit
TWIRL:;sh="--\\||//";tw=tw+1;if tw>8 then tw=1;return substr(sh,tw,1)"<1"
LOG:;parse arg text;zy=zy+1;text.zy="AUTO: ("date("u")" "time("c")")"text;return
MAKELOG:;call open(f9,"SysData:Log/ViewLog5",substr("wa",exists("sysdata:log/viewlog5")+1,1))
do i=1 to zy;call writeln(f9,text.i);end i;call close(f9);return
MENU: ; se "z5ce"left(it.it,29)"z09H"
do until k~="NOCHAR";mg;k=result;end;kk=""
if c2d(k)=27 then do;do 2;mg;end;kk=result;end
if c2d(k)=27&kk="NOCHAR" then signal MENU_OFF
if kk="B"|kk="C" then do;tr "z0cd"left(it.it,29)
it=it+1;if it>max then it=1;signal MENU;end
if kk="A"|kk="D" then do;tr "z0cd"left(it.it,29)
it=it-1;if it<1 then it=max;signal MENU;end
MENU2:
if it=1 then do /* View ALL Log Files */
se "11HcdView cfALL c6logs right now? cb[c9Nocb]c6: "
gc;a=result;if a~="Y" then tr "c9Noc6.";else do;tr "caYesc6!"
do i=1 to logs ; if exF.i=0 then iterate i ; else a=logI.i
if ar=1 then do ; call setclip("ARt",title.a) ; call setclip("ARi",a) ; call setclip("ARa","1")
se "H#0"ARpt" sysdata:log/"logF.i",,,,,1,e,1,0}" ; changewhere "SysOpViewLog5.0"
call setclip("ARt") ; call setclip("ARi") ; call setclip("ARa") ; end
else do ; tr "f1c6Now cbViewing c6the cf`ca"logN.i"cf' c6logc9:"
if title.a>"" then tr "n1z5ce"left(title.a,79)"z0"
tr "*0 SysData:Log/"logF.i"}" ; end
se "2Hz7c1Press <Q>uit, or ANY OTHER KEY for next log...z0"
gc;a=result;if a="Q" then leave i ; else tr "Hz7z0"
end i ; signal BEGIN ; end ; tr "11H"sp
if menu=1 then call MENU_OFF ; signal VIEWANS2 ; end
if it=2 then do /* View ALL Histories */
se "11HcdView cfALL c6log histories right now? cb[c9Nocb]c6: "
gc;a=result;if a~="Y" then tr "c9Noc6.";else do;tr "caYesc6!"
do i=1 to logs ; if exH.i=0 then iterate i ; else a=logI.i
if ar=1 then do ; call setclip("ARt",title.a) ; call setclip("ARi",a) ; call setclip("ARa","1")
se "H#0"ARpt" "comP"Histories/"logF.i",,,,,1,e,1,0}"
call setclip("ARt") ; call setclip("ARi") ; call setclip("ARa") ; end
else do ; tr "f1c6Now cbViewing c6the cf`ca"logN.i"cf' c6log cehistoryc9:"
if title.a>"" then tr "n1z5ce"left(title.a,79)"z0"
tr "*0 "comP"histories/"logF.i"}" ; end
se "2Hz7c1Press <Q>uit, or ANY OTHER KEY for next history...z0"
gc;a=result;if a="Q" then leave i ; else tr "Hz7z0"
end i ; signal BEGIN ; end ; tr "11H"sp
call MENU_OFF ; signal VIEWANS2 ; end
if it=3 then do /* Trim ALL Logs */
se "11Hc9Trim cfALL c6logs to carespective c6lengths? cb[c9Nocb]c6: "
gc;a=result;if a~="Y" then tr "c9Noc6.";else do;tr "caYesc6!"
do i=1 to logs ; if exF.i=0 | (sysM.i=1 & id~=1) then iterate i
se "11H"sp"11Hc9Trimming cf`cd"logN.i"cf' c6log to ce"trln.i" c6lines..."
call open(f1,"sysdata:log/"logF.i,"r")
do j=1 until eof(f1) ; se "c9"TwIRL() ; l.j=readln(f1) ; end j ; l=j-1
call close(f1)
if l>trln.i then do
call LOG("[A] Trimmed "l-trln.i" lines from the `"logN.i"' log file.")
call open(f1,"sysdata:log/"logF.i,"w")
do j=l-trln.i+1 to l ; se "cf"TwIRL() ; call writeln(f1,l.j) ; end j
call close(f1) ; end
if logH.i=1 & l>trln.i then do
call LOG("[A] Appended "l-trln.i" lines to the `"logN.i"' log history.")
call open(f1,comP"Histories/"logF.i,substr("wa",exH.i+1,1))
do j=1 to l-trln.i ; se "cc"TWIRL()
call writeln(f1,l.j) ; end j ; call close(f1) ; exH.i=1
end ; tr "cdDonec6!"
end i ; end ; tr "11H"sp ; call MENU_OFF
signal VIEWANS2;end
if it=4 then do /* Trim ALL Histories */
se "11Hc9Trim cfALL c6log histories to carespective c6lengths? cb[c9Nocb]c6: "
gc;a=result;if a~="Y" then tr "c9Noc6."
else do;tr "caYesc6!"
do i=1 to logs
if exH.i=0 | (sysM.i=1 & id~=1) | hisT.i=0 then iterate i
se "11H"sp"11Hc9Trimming cf`cd"logN.i"cf' c6history to ce"hisT.i" c6lines..."
call open(f1,comP"Histories/"logF.i,"r")
do j=1 until eof(f1) ; se "c9"TWIRL() ; l.j=readln(f1) ; end j ; l=j-1
call close(f1)
if l>hisT.i then do
call LOG("[A] Trimmed "l-hisT.i" lines from the `"logN.i"' log history.")
call open(f1,comP"Histories/"logF.i,"w")
do j=l-hisT.i+1 to l ; se "cc"TWIRL() ; call writeln(f1,l.j) ; end j
call close(f1) ; end ; tr "cdDonec6!"
end i ; end ; tr "11H"sp ; call MENU_OFF
signal VIEWANS2;end
if it=5 then do /* Delete ALL Log Files */
se "11Hc6You want to c9Delete cfALL c6logs now? cb[c9Nocb]c6: "
gc;a=result ; if a="Y" then do;se "caYes"
do i=1 to logs ; se "11H"sp"11H"
if exF.i=1 & sysM.i=0 | (sysM.i=1 & id=1) then do ; exF.i=0
if logH.i=1 then do ; se "cbSaving cf`cd"logN.i"cf' c6to cfhistoryc6...cc"
call open(f1,"SysData:Log/"logF.i,"r")
call open(f2,comP"Histories/"logF.i,substr("wa",exists(comP"Histories/"logF.i)+1,1))
do j=1 until eof(f1) ; se TWIRL() ; a=readln(f1) ; call writeln(f2,a) ; end j
call close(f2) ; call close(f1) ; end
se "c9Deletingc6..." ; exF.z=0
call LOG("[A] Deleted the `"logN.i"' log file.")
address command "delete SysData:Log/"logF.i
tr "h6c9edc6!" ; end ; end i ; end ; else tr "c9Noc6."
tr "11H"sp;call MENU_OFF;signal VIEWANS2 ; end
if it=6 then do /* Delete ALL Histories */
se "11Hc6You want to c9Delete cfALL c6log histories now? cb[c9Nocb]c6: "
gc;a=result;if a="Y" then do;se "caYesc6..."
do i=1 to logs ; if exH.i=0 | (sysM.i=1 & id~=1) then iterate i
se "11H"sp"11Hc9Deleting cf`ce"logN.i"cf'c6..."
exH.i=0 ; address command "delete "comP"histories/"logF.i
call LOG("[A] Deleted the `"logN.i"' log history.")
end i ;end;else tr "c9Noc6."
tr "11H"sp;call MENU_OFF;signal VIEWANS2;end
if it=7 then do /* Quit & Exit ViewLog */
se "22HcbThanks c6for using caView Log c6today!";call MAKELOG;exit;end
signal MENU
MENU_ON:;menu=1
tr "f0
ÉÍ
Menu
ÍÍÍÍÍÄ
>
SysOp
Vie"
tr "
º
ÛÛÛÛÛÛ
<
*
=
Log
ex"
tr "
º"copies(" ",22)"º"
tr " º
View ALL Log Files
º"
tr " º
View ALL Histories
º"
tr " º"copies(" ",22)"º"
tr " º
Trim ALL Log Files
º"
tr " º
Trim ALL Histories
º"
tr " º"copies(" ",22)"º"
tr " º
Delete ALL Log Files
º"
tr " º
Delete ALL Histories
º"
tr " º"copies(" ",22)"º"
tr " º
Quit & Exit ViewLog
º"
tr " ÈÍÍËÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ"
signal MENU
MENU_OFF:;menu=0;mo="1 4 7 10 13 16 19 22 25 28 31"
if lo>1 then mo="46 49 52 55 58 61 64 67 70 73 76"
do i=14 to 4 by -1 ; j=i-1 ; z1=word(mo,i-3) ; z2=word(mo,j-3)
tr ""i";1H ccÈÍÍ» c7ÛÛ ca"center(logN.z1,15)
tr ""j";1H ccÉÍͼ c7ÛÛ cb"center(logN.z2,15)
i=i-1
end i
tr "H ccÉÍͼ c7ÛÛß"copies(" ",20)
tr "H ccÈÍÍ»";tr "H ccÉÍMenu"
signal VIEWANS2
CHECK:;getcarrier;if result="TRUE" then return;else a="Lost Carrier!"
tr "1Hc9"a;logentry a;call MAKELOG;bufferflush;exit
SYNTAX:;ERROR:;IOERR:;e1=' Error: 'rc' ('errortext(rc)')'
e2=' Line: 'left(sigl,4)'File:';gu 1311992;a=result;gu 1311960
b=result;c='"'a||b'"';e2=e2' 'c;tr e1;tr e2;logentry e1;logentry e2
e=translate(sourceline(sigl),"\{","");do while e~=''
e3='Source: 'left(e,37);tr e3;logentry e3;e=substr(e,38);end;bufferflush
/**************************************************************************\
\****************************************** Frontiers BBS (716)/823-9892 **/